#coding:utf8

SECRET_KEY = 'Y\xf5\xe2\xb3Sm\xba\x10\x07P\x84\xce\xd6$tiW(\x19\xd7|e\xb6a11'


QINIUHOST = "http://pbp781cft.bkt.clouddn.com/"
QINIUACCESS_KEY = '41n5WB3wkLaB_mHu8xd7Im23q-is-T_ka5W6DBSq'
QINIUSECRET_KEY = 's2602oNhOakEqnex8y-DFcgAFv5AKf3NpIUi5MeG'
QINIUBUCKET = 'dianjing'

IMAGEFORMAT = ['jpg','png','gif','jpeg']

EVENTSTATUS = {4:'预报名',1:'报名中',3:'等待开赛',2:'比赛中',5:'比赛结束'}

## 网易图片
WY_CAPTCHA = dict(
	ID = "7fbd905f961c4867925243886f466e81",
	SECRET_ID = "a22e054f5596cb606f50b045f4a35bb2",
	SECRET_KEY = "e533a9d02ca5d1b1a24af9eab4d70f71",
	VERIFY_URL = "http://c.dun.163yun.com/api/v2/verify"
	)


SMS_ACCESS_KEY_ID = "LTAIQ6cPmjOb1quI"
SMS_ACCESS_KEY_SECRET = "3WrVle75SVk2cYy7IMrNtZlmr4QD7q"

WX_APPID = 'wx2535ac9f0488e2bf'
WX_SECRET = '81f8fd00417f6458bd0d8db010950f0a'

WX_APPID_PC = 'wxf4537cea28c4fce7'
WX_SECRET_PC = '5cafe79a3e4aa4311ad56f924b0e1d27'

WX_ACCESS_URL=  'https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=%s&secret=%s'

WX_JSAPI_TIKET = 'https://api.weixin.qq.com/cgi-bin/ticket/getticket?access_token=%s&type=jsapi'

## 微信授权地址
WX_ACCESS_URL_USER = 'https://api.weixin.qq.com/sns/oauth2/access_token'

## 微信获取用户信息
WX_GET_USERINFO = 'https://api.weixin.qq.com/sns/userinfo'

